package com.kong.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.kong.dao.PermissionDao;
import com.kong.pojo.Permission;
import com.kong.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author yang2013
 * @data 2020/10/21 14:04
 */
@Service
public class PermissionServiceImpl implements PermissionService {
    @Autowired
    private PermissionDao permissionDao;
    @Override
    public List<Permission> findAll() {
        return permissionDao.findAll();
    }
}
